package com.info.zhiduoduo.repository.dto.report;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class StatisticCountDto {

	/** 标准内数量 */
	private int standardCount;
	/** 标准外数量 */
	private int unstandardCount;
	/** 港台数量 */
	private int hktwCount;
	/** 总数 */
	private int totalCount;

	public void add(StatisticCountDto other) {
		this.standardCount += other.standardCount;
		this.unstandardCount += other.unstandardCount;
		this.hktwCount += other.hktwCount;
		this.totalCount += other.totalCount;
	}

}
